package vendingMachine.finance;

public class AuthorizeObject
{
	private String accountID;
	private float totalCredit;
	private boolean authorize;
	private String authorizeReceiptID;
	private int id;

	public AuthorizeObject()
	{
		totalCredit = 0.0f;
		authorize = false;
		accountID = null;
		authorizeReceiptID = null;
	}

	public void setSessionId(int id)
	{
		this.id = id;
	}

	public int getSessionId()
	{
		return this.id;
	}

	public void setAuthorizeID(String id)
	{
		this.authorizeReceiptID = id;
	}

	public String getAuthorizeId()
	{
		return this.authorizeReceiptID;
	}

	public void setAccountId(String id)
	{
		this.accountID = id;
	}

	public String getAccountId()
	{
		return this.accountID;
	}

	public void setTotalCredit(float totalCredit)
	{
		this.totalCredit = totalCredit;
	}

	public float getTotalCredit()
	{
		return this.totalCredit;
	}

	public void setAuthorize(boolean authorize)
	{
		this.authorize = authorize;
	}

	public boolean authorize()
	{
		return this.authorize;
	}
}
